//==============================================================================
// injured unit_anim.txt
//==============================================================================

//==============================================================================
define head
{
      set hotspot
      {
         version
         {
            Visual Infantry G Hoplite Head Standard
         }
      }
}

//==============================================================================
define hypaspisthead
{
      set hotspot
      {
         version
         {
            Visual Infantry G Hypaspist Head Bronze
         }
      }
}

//==============================================================================
define axemanhead
{
      set hotspot
      {
         version
         {
            Visual Archer N Throwing Axeman Head Bronze
         }
      }
}

//==============================================================================
anim idle
{
SetSelector
{
	VariationLogic
   set hotspot
   {
      version
      {
         	Visual injured unit_idle
		connect topofhead head hotspot
      }
   }
   set hotspot
   {
      version
      {
         	Visual injured unit_idle
		connect topofhead hypaspisthead hotspot
		ReplaceTexture villager g male standard/infantry g hoplite bronze
      }
   }
   set hotspot
   {
      version
      {
         	Visual injured unit_idle
		connect topofhead axemanhead hotspot
		ReplaceTexture villager g male standard/Archer N Throwing Axeman Bronze
      }
   }
}
}

//==============================================================================
anim bored
{
SetSelector
{
	VariationLogic
   set hotspot
   {
      version
      {
         	Visual injured unit_boredA
		connect topofhead head hotspot
      }
      version
      {
         	Visual injured unit_boredB
		connect topofhead head hotspot
      }
   }
   set hotspot
   {
      version
      {
         	Visual injured unit_boredA
		connect topofhead hypaspisthead hotspot
		ReplaceTexture villager g male standard/infantry g hoplite bronze
      }
      version
      {
         	Visual injured unit_boredB
		connect topofhead hypaspisthead hotspot
		ReplaceTexture villager g male standard/infantry g hoplite bronze
      }
   }
   set hotspot
   {
      version
      {
         	Visual injured unit_boredA
		connect topofhead axemanhead hotspot
		ReplaceTexture villager g male standard/Archer N Throwing Axeman Bronze
      }
      version
      {
         	Visual injured unit_boredB
		connect topofhead axemanhead hotspot
		ReplaceTexture villager g male standard/Archer N Throwing Axeman Bronze
      }
   }
}
}

//==============================================================================
anim death
{
SetSelector
{
	VariationLogic
   set hotspot
   {
      version
      {
         	Visual injured unit_death
		connect topofhead head hotspot
      }
   }
   set hotspot
   {
      version
      {
         	Visual injured unit_death
		connect topofhead hypaspisthead hotspot
		ReplaceTexture villager g male standard/infantry g hoplite bronze
      }
   }
   set hotspot
   {
      version
      {
         	Visual injured unit_death
		connect topofhead axemanhead hotspot
		ReplaceTexture villager g male standard/Archer N Throwing Axeman Bronze
      }
   }
}
}
